def fn1():
    1 / 0
def fn2():
    fn1()

def fn3():
    try:
        fn2()
    except ZeroDivisionError:
        print('0不能作为除数')
fn3()